/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.compomics.fspike.playground;

import com.compomics.fspike.contentprovider.fastaproviders.impl.UniprotFastaProvider;
import java.io.File;

/**
 *
 * @author Kenneth
 */
public class GetContaminatedUniprot {

    public static void main(String args[]) throws Exception {
        File output = new File("C:\\Users\\Kenneth\\Documents\\Projects\\testing_repo\\fasta");
        UniprotFastaProvider provider = new UniprotFastaProvider("9606", output);
        provider.addSingleSpike("P07477");
        provider.saveContaminatedFasta(new File(output, "contaminatedFasta.fasta"));
        /* provider.addContamination("Trypsin", "MNPLLILTFVAAALAAPFDDDDKIVGGYNCEENSVPYQVSLNSGYHFCGGSLINEQWVVS\n"
         + "AGHCYKSRIQVRLGEHNIEVLEGNEQFINAAKIIRHPQYDRKTLNNDIMLIKLSSRAVIN\n"
         + "ARVSTISLPTAPPATGTKCLISGWGNTASSGADYPDELQCLDAPVLSQAKCEASYPGKIT\n"
         + "SNMFCVGFLEGGKDSCQGDSGGPVVCNGQLQGVVSWGDGCAQKNKPGVYTKVYNYVKWIK\n"
         + "NTIAANS");*/
    }
}
